﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ConfigurationControls
{
    public partial class ConfigurationControlDoorContacts : UserControl
    {
        public ConfigurationControlDoorContacts()
        {
            InitializeComponent();
        }

        private void buttonAddDoorContact_Click(object sender, EventArgs e)
        {
            ConfigurationControlDoorContact newDoorContact = new ConfigurationControlDoorContact();
            this.Controls.Add(newDoorContact);
            newDoorContact.Dock = DockStyle.Top;
        }
    }
}
